//
//  CNRoutePath.m
//  CsdnPlus
//
//  Created by 邓建东 on 2019/11/20.
//  Copyright © 2019 CSDN. All rights reserved.
//

#import "CNRoutePath.h"

NSString *const CNAPPScheme = @"csdnapp://";

NSString *const CNAPPWebScheme = @"csdnweb://";

NSString *const CNFlutterScheme = @"csdnflutter://";

NSString *const CNGitChatFlutterScheme = @"gitchatflutter://";

#pragma mark -首页
// 搜索
NSString *const CNSearchPageRoute = @"app.csdn.net/search";

// 首页
NSString *const CNHomePageRoute = @"app.csdn.net/homePage";

// 学习
NSString *const CNHomeStudyPageRoute = @"app.csdn.net/homeStudy";

//Blink
NSString *const CNHomeBlinkPageRoute = @"app.csdn.net/homeBlink";

//消息
NSString *const CNHomeMessagePageRoute = @"app.csdn.net/homeMessage";

//我的
NSString *const CNHomeMePageRoute = @"app.csdn.net/homeMe";

//首页推荐

NSString *const CNBlogRecommentTagPagRoute = @"app.csdn.net/blog/recommentall";

//首页推荐

NSString *const CNBlogRecommentPageRoute = @"app.csdn.net/blog/recomment";

//首页分类

NSString *const CNBlogCategroiePageRoute = @"app.csdn.net/blog/categroie";

//首页关注流

NSString *const CNBlogFollowfeedPageRoute = @"app.csdn.net/blog/followfeed";

//首页视频流

NSString *const CNBlogLiveVideoPageRoute = @"app.csdn.net/blog/liveVideo";
NSString *const CNLiveVideoColumnListPageRoute = @"app.csdn.net/live/columnList";

// 直播推流
NSString *const CNLivePublisherPageRoute = @"app.csdn.net/live/publisher";
#pragma mark -课程
// 我的课程
NSString *const CNStudyMyCoursePageRoute = @"app.csdn.net/mycourselist";

#pragma mark -blink
//全部话题/关注话题列表
NSString *const CNBlinkTopicListPageRoute = @"app.csdn.net/topic";
// 话题详情
NSString *const CNBlinkTopicDetailPageRoute = @"app.csdn.net/blink/topic";
// 发布blink
NSString *const CNBlinkPostPageRoute = @"app.csdn.net/blink/post";
// blink排行榜
NSString *const CNBlinkRankPageRoute = @"app.csdn.net/blink/rank";

NSString *const CNBlinkCommentDetailPageRoute = @"app.csdn.net/blink/commentdetail";


#pragma mark -bbs
// 论坛详情
NSString *const CNBBSDetailPageRoute = @"app.csdn.net/bbs/detail";
// 论坛发帖
NSString *const CNBBSPostPageRoute = @"app.csdn.net/bbs/post";
// 论坛列表
NSString *const CNBBSListPageRoute  = @"app.csdn.net/bbs/list" ;

//博客举报
NSString *const CNBlogReportRoute = @"app.csdn.net/blog/report" ;
//快速唤起登录
NSString *const CNLoginQuickRoute = @"app.csdn.net/login/quick" ;
//跳转会员购买页面
NSString *const CNBuyVIPRoute = @"app.csdn.net/buy/vip" ;

#pragma mark -我的
//关注/粉丝列表
NSString *const CNMineFansFollowPageRoute = @"app.csdn.net/me/fansfollow";
// 设置
NSString *const CNMineSettingPageRoute = @"app.csdn.net/me/setting";
// 编辑个人材料
NSString *const CNMineEditPageRoute = @"app.csdn.net/me/edit";
// 私信
NSString *const CNPrivateChartPageRoute  = @"app.csdn.net/privatechart";

//博客热榜
NSString *const CNBlogHotlistPageRoute = @"app.csdn.net/blog/hotlist";

NSString *const CNBlogHotlistHomePageRoute = @"app.csdn.net/blog/hotlisthome";

//博客详情页路由
NSString *const CNBlogDetailPageRoute = @"app.csdn.net/blog/detail";
//写博客路由
NSString *const CNBlogWritePageRoute = @"app.csdn.net/blog/write";
//blink详情页路由
NSString *const CNBlinkDetailPageRoute = @"app.csdn.net/blink/detail";
//他人页路由
NSString *const CNHisPageRoute = @"app.csdn.net/me";
//课程详情页路由
NSString *const CNStudyDetailPageRoute = @"app.csdn.net/study/course/detail";
NSString *const CNStudyPlayPageRoute = @"app.csdn.net/study/course/play";
//电子书首页
NSString *const CNEbookHomePageRoute = @"app.csdn.net/study/ebook/home";
//电子书详情页
NSString *const CNEbookDetailPageRoute = @"app.csdn.net/study/ebook/detail";

//blink推荐页(首页feed进入)
NSString *const CNBlinkRecommendFeedPageRoute = @"app.csdn.net/blink/recommend_feed";

NSString *const CNBlinkHomeTabPageRoute = @"app.csdn.net/blog/blinkhome";

NSString *const CNBlogCommentPageRoute = @"app.csdn.net/blog/comment";

//iOS 内购
NSString *const CNBuyOrderRoute = @"app.csdn.net/buy/order";
 
#pragma mark ----我的页面相关路由
//我的博客
 NSString *const CNMineBlogPageRoute = @"app.csdn.net/me/blog";
//我的bbs
 NSString *const CNMineBBSPageRoute = @"app.csdn.net/me/bbs";
//我的blink
 NSString *const CNMineBlinkPageRoute = @"app.csdn.net/me/blink" ;
//我的课程
 NSString *const CNMineCoursePageRoute = @"app.csdn.net/me/course" ;
//我的电子书
 NSString *const CNMineEbookPageRoute = @"app.csdn.net/me/ebook" ;
//我的收藏
 NSString *const CNMineFavPageRoute = @"app.csdn.net/me/fav";
//我的足迹
 NSString *const CNMineFootPrintPageRoute = @"app.csdn.net/me/footprint";
//我的勋章
 NSString *const CNMineMedalPageRoute = @"app.csdn.net/me/medal";
//我的任务
 NSString *const CNMineTaskPageRoute = @"app.csdn.net/me/task" ;
//抽奖
NSString *const CNMineLotteryPageRoute = @"app.csdn.net/lottery";

//VIP会员
NSString *const CNMineVIPMallPageRoute = @"app.csdn.net/vip/mall";

//签到
NSString *const CNMineCheckinPageRoute = @"app.csdn.net/checkin";

//消息
NSString *const CNMineMessagePageRoute = @"app.csdn.net/message";

//扫一扫
NSString *const CNScannerPageRoute = @"app.csdn.net/scanner";
  
//私密文章
NSString *const CNMinePrivateArticlesRoute = @"app.csdn.net/me/privatearticles";
//账户余额
NSString *const CNMineBalanceRoute = @"app.csdn.net/me/balance";
//大本营
NSString *const CNMineGroupRoute = @"app.csdn.net/me/group";
// 付费专栏
NSString *const CNMinePayColumnRoute = @"app.csdn.net/me/paycolumn";
// 我的预约直播
NSString *const CNMineAppointmentLiveRoomPageRoute = @"app.csdn.net/me/appointmentLiveRoom";
// 抽奖
NSString *const CNMineLotteryRoute = @"app.csdn.net/lottery";

// 优惠券
NSString *const CNMineCouponRoute = @"app.csdn.net/me/coupon";

// 帮助与反馈
NSString *const CNMineFeedbackRoute = @"app.csdn.net/me/feedback";

//
NSString *const CNBlogMessageCommentRoute = @"app.csdn.net/blog/commentmsg";

NSString *const CNLiveRoomRoute = @"app.csdn.net/live/room";

NSString *const CNLiveRoomListRoute = @"app.csdn.net/live/roomlist";

NSString *const CNLiveHomeListRoute = @"app.csdn.net/blog/liveVideo";

NSString *const CNLiveVideoDetailRoute = @"app.csdn.net/live/videoDetail";

NSString *const CNWMParentPageRoute = @"app.csdn.net/wm";

NSString *const CNWMChildPageRoute = @"app.csdn.net/wm_second";

//唤起分享组件
NSString *const CNShareContentRoute = @"app.csdn.net/share/content";

NSString *const CNShareCourseRoute = @"app.csdn.net/share/course";

#pragma mark - Flutter相关
//话题管理
NSString *const CNFlutterTopicListRoute = @"app.csdn.net/topic/list";
//电子书首页
NSString *const CNFlutterEBookHomeRoute = @"app.csdn.net/epub/home";
//博客评论
NSString *const CNFlutterBlogCommentRoute = @"app.csdn.net/blog/comment";
//电子书分类
NSString *const CNFlutterEBookCategoryRoute = @"app.csdn.net/epub/category";
//电子书列表
NSString *const CNFlutterEBookFeedlistRoute = @"app.csdn.net/epub/feedlist";
// 电子书热门100页面
NSString *const CNFlutterEBookTopOneHundredRoute = @"app.csdn.net/epub/top100";

#pragma mark - 小程序
//小程序
NSString *const CNMPTinyAppRoute = @"app.csdn.net/mpTinyApp";

#pragma mark - gitChat
//gitchat首页
NSString *const CNGitChatFlutterHomeRoute = @"app.gitchat.net/gitchat/home";


@implementation CNRoutePath

+ (NSString *)gitChatFlutterUrlWithRoutePath:(NSString *)routePath{
    return [NSString stringWithFormat:@"%@%@",CNGitChatFlutterScheme,routePath];
}

+ (NSString *)flutterUrlWithRoutePath:(NSString *)routePath{
    return [NSString stringWithFormat:@"%@%@",CNFlutterScheme,routePath];
}
+ (NSString *)appUrlWithRoutePath:(NSString *)routePath{
    return [NSString stringWithFormat:@"%@%@",CNAPPScheme,routePath];
}
+ (NSString *)webUrlWithRoutePath:(NSString *)routePath{
    return [NSString stringWithFormat:@"%@%@",CNAPPWebScheme,routePath];

}
@end
